TEMPLATE    =   lib
CONFIG      +=  c++11
CONFIG      +=  qt
TARGET      =   CFDPostUI
QT          +=  core widgets gui charts
DEFINES     +=  CFDPostUI_API

include(./CFDPostUI.pri)

win32{

    INCLUDEPATH    +=  ./   \
                       ../  \
                       ../../ \
                       ../../Tools/Win64/SARibbon/include/SARibbon-2.0.1/ \

    Release:CONFIG            +=  console
    Release:DESTDIR         = ../../output/bin
    Release:MOC_DIR         = ../../generate/CFDPostUI/release/moc
    Release:RCC_DIR         = ../../generate/CFDPostUI/release/rcc
    Release:UI_DIR          = ../../generate/CFDPostUI/release/qui
    Release:OBJECTS_DIR     = ../../generate/CFDPostUI/release/obj
    Release:LIBS +=  \
        -L../../output/bin  \
        # -lGUIFrame \
        # -lCUIProperty \
        # -lGUIWidget \
        -lFITKAppFramework \
        # -lOperatorsModel \
        # -lFITKCore \
        # -lOperatorsInterface \
        # -lFITKInterfaceGeometry \
        # -lCFDStructDataManager \
        # -lPostGraphAdaptor \
        # -lFITKInterfaceCFDPost \
        -lCFDPostUIComponents


    Debug:CONFIG            +=  console
    Debug:DESTDIR         = ../../output/bin_d
    Debug:MOC_DIR         = ../../generate/CFDPostUI/debug/moc
    Debug:RCC_DIR         = ../../generate/CFDPostUI/debug/rcc
    Debug:UI_DIR          = ../../generate/CFDPostUI/debug/qui
    Debug:OBJECTS_DIR     = ../../generate/CFDPostUI/debug/obj
    Debug:LIBS +=  \
        -L../../output/bin_d  \
        # -lGUIFrame \
        # -lCUIProperty \
        # -lGUIWidget \
        -lFITKAppFramework \
        # -lOperatorsModel \
        # -lFITKCore \
        # -lOperatorsInterface \
        # -lFITKInterfaceGeometry \
        # -lCFDStructDataManager \
        # -lPostGraphAdaptor \
        # -lFITKInterfaceCFDPost \
        -lCFDPostUIComponents

Debug:LIBS +=  -L$$PWD/../../Tools/Win64/SARibbon/libd/  \
               -lSARibbonBard  \

Release:LIBS +=  -L$$PWD/../../Tools/Win64/SARibbon/lib/  \
               -lSARibbonBar

    message("Windows CFDPostUI generated")
}

